package com.mrx.mqtt.mqttintegration.mqtt.service.impl;

import com.mrx.mqtt.mqttintegration.mqtt.service.MqttService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author XH.M
 * @create 2019-04-28 11:38
 */
@Slf4j
@Service
public class MqttServiceImpl implements MqttService {


    @Async
    @Override
    public void save(String message) {
        System.out.println("保存信息"+message);
    }
}
